package com.xzgj.api.esb.service.impl;

import com.xzgj.api.api.DemoApi;
import com.xzgj.api.domain.gateway.DemoGateway;
import com.xzgj.api.dto.data.DemoAddDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author hxh
 * @version 1.0.0
 * @date 2024/3/7
 */
@Service
public class DemoApiImpl implements DemoApi {

    @Autowired
    private DemoGateway demoGateway;
    @Override
    public void add(DemoAddDto demoAddDto) {
        demoGateway.add(demoAddDto);
    }
}
